<template>
	<view class="news-lately-update">
		
		<block v-for="(item,index) in latelyda" :key="">
		<view class="news-lately-bottom u-f-ac" @click="goinfo(index)"> 
			<view class="news-lately-left">
				<image :src="item.img" mode="widthFix" lazy-load></image>
			</view>
			<view class="news-lately-right">
				<view class="news-lately-right-fristtext">
					{{item.title}}
				</view>
				<view class="news-lately-right-text">
					{{item.text}}
				</view>
				
				<view class="news-lately-right-text">
					动态 {{item.newnum}} 今日 {{item.todaynum}}
				</view>
			</view>
		</view>
		</block>
	</view>
</template>

<script>
	export default{
		data() {
			return {
				//最近更新
				
			}
		},
		props:{
			latelyda:Array
		},
		methods:{
			goinfo(index){
				uni.navigateTo({
					url:'../../pages/topic-info/topic-info'
				})
			}
		}
	}
</script>

<style scoped>
	.news-lately-right{
		margin-left: 30upx;
		margin-bottom: 40upx;
	}
	.news-lately-right-fristtext{
		color: #343434;
		font-size: 35upx;
		
	}
	.news-lately-right-text{
		font-size: 25upx;
		color: #C3C3C3;
	}
	.news-lately-bottom{
		margin-left: 20upx
	}
	.news-lately-top{
		margin-top: 10upx;
		margin-bottom: 10upx;
		color: #010101;
		font-size: 30upx;
		margin-left: 20upx;
		
	}
	.news-lately-left>image{
		width: 150upx;
		height: 150upx;
		border-radius: 15upx;
		margin-bottom: 20upx;
	}
	.news-lately-update .news-lately-bottom{
		border-bottom: #EEEEEE 1upx solid;
		
	}
</style>
